<!DOCTYPE HTML>
<html>
    <head>
	   <title>LOGIN de CINEXON</title>
	   <meta http-equiv="Content-Type" content="text/html; charset=utf8">
	   <link href="<?php echo base_url(); ?>/css/bootstrap.css" rel="stylesheet">
	   <link href="<?php echo base_url(); ?>/css/sb-admin.css" rel="stylesheet">
	   <link href="<?php echo base_url(); ?>/css/login.css" rel="stylesheet">
	   <style>
		  .mensaje{
			 <?php if ($flag == 0) { echo 'display:none;'; } ?>
		  }
	   </style>				
    </head>
    <body>
	   <div class="mensaje">	
		  <?php 
			 echo validation_errors(); 
			 if (isset($error)) { echo $error; }
		  ?>
	   </div>
	   <form action="<?php echo base_url(); ?>index.php/entrada/login" method="post" name="form_login" class="form_login");
		    <div>
			 <label for="maillogin">E-mail:</label>
			 <input type="text" name="maillogin" value="<?php echo set_value('maillogin'); ?>" size="25" />

			 <label for="passlogin">Contraseña:</label>
			 <input type="password" name="passlogin" size="25" /><br>

			 <input type="submit" value="Entrar">
		  </div>
	   </form>
	   <!-- JavaScript -->
	   <script src="<?php echo base_url(); ?>/js/jquery-1.11.0.min.js"></script>
	   <script src="<?php echo base_url(); ?>/js/bootstrap.js"></script>
    </body>
</html>				